﻿using DFGK_WMS.Model.Models.LyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.LY
{
    public interface IPurchasePlanService
    {
        List<PurchasePlan> GetPurchasePlanData(string? name, DateTime? startDate, DateTime? endDate,string? status, out int totalCount, int pageIndex = 1, int pageSize = 15 );
        bool DelPurchasePlan(long purchasePlanId);
        bool AddOrModefiyPurchasePlan(PurchasePlan model, out string errorMsg);

        PurchasePlan? GetPurchasePlan(long purchasePlanId);
    }
}
